package com.alili_tv.system.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.io.Serial;
import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 收藏的视频
 * </p>
 *
 * @author baomidou
 * @since 2023-03-17
 */
@Getter
@Setter
@ToString
public class VideoFavorite implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 收藏的视频id
     */
    private Long videoId;

    /**
     * 收藏夹id
     */
    private Long folderId;

    /**
     * 创建者 方便查询用
     */
    private Long createUser;

    /**
     * 创建时间
     */
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;

}
